package com.oa.bean;

/**
 * THourse entity. @author MyEclipse Persistence Tools
 */

public class THourse implements java.io.Serializable {

	// Fields

	private Integer hourid;
	private String hourname;

	// Constructors

	/** default constructor */
	public THourse() {
	}

	/** full constructor */
	public THourse(String hourname) {
		this.hourname = hourname;
	}

	// Property accessors

	public Integer getHourid() {
		return this.hourid;
	}

	public void setHourid(Integer hourid) {
		this.hourid = hourid;
	}

	public String getHourname() {
		return this.hourname;
	}

	public void setHourname(String hourname) {
		this.hourname = hourname;
	}

	@Override
	public String toString() {
		return "THourse [hourid=" + hourid + ", hourname=" + hourname + "]";
	}

}